<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page session="true"%>
<%
	String myContext = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>Insert title here</title>
</head>
<body>
	<div id="wrapper">
				<div id="head"><img src="./jsp/image/MainLogo.gif"/></div>
				<div id="menu">
	
				<a href="<%=myContext%>/Homepageinfo.main"><button class="button">HomepageInfo</button></a>
				<a href="<%=myContext%>/userList.not"><button class="button">News</button></a>
				<a href="<%=myContext%>/list.mb"><button class="button">MemberBoard</button></a>
				<a href="<%=myContext%>/Pm10info.main"><button class="button">PM10 info</button></a>

		</div>

		<div id="login">
			<c:choose>
				<c:when test="${sessionScope.member.mid == null }">
					<jsp:include page="../main/memLoginForm.jsp" />
				</c:when>
				<c:when test="${sessionScope.member.mid == 'A' }">
					<jsp:include page="../main/loginSucces.jsp" />
				</c:when>
				<c:otherwise>
					<jsp:include page="../main/loginSucces.jsp" />
				</c:otherwise>
			</c:choose>
		</div>

		<div id="midLeft">
 			<jsp:include page="../main/tab.jsp" /> 
		</div>
		<div id="midRight">
			<jsp:include page="../main/Mainslide.jsp" />
		</div>

		<div id="siteDown"><img src="./jsp/image/footer.gif"></div>
	</div>
</body>
</html>